{{! -------------------------------------------------------------------------- }}
{{! Copyright 2002-2016, OpenNebula Project, OpenNebula Systems                }}
{{!                                                                            }}
{{! Licensed under the Apache License, Version 2.0 (the "License"); you may    }}
{{! not use this file except in compliance with the License. You may obtain    }}
{{! a copy of the License at                                                   }}
{{!                                                                            }}
{{! http://www.apache.org/licenses/LICENSE-2.0                                 }}
{{!                                                                            }}
{{! Unless required by applicable law or agreed to in writing, software        }}
{{! distributed under the License is distributed on an "AS IS" BASIS,          }}
{{! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   }}
{{! See the License for the specific language governing permissions and        }}
{{! limitations under the License.                                             }}
{{! -------------------------------------------------------------------------- }}

<div class="row">
  <div class="large-6 columns">
    <table class="dataTable" cellpadding="0" cellspacing="0" border="0">
      <thead>
        <tr>
          <th>{{tr "App template"}}</th>
          <th>
            <a class="appTemplate_edit right" href="#"><i class="fa fa-pencil-square-o"></i></a>
          </th>
        </tr>
      </thead>
    </table>
    <textarea class="monospace" rows="6" type="text" id="appTemplate_textarea" hidden placeholder='ATTRIBUTE = "VALUE"'>{{appTemplate}}</textarea>
      {{#if appTemplate}}
        <pre id="appTemplate_text" class="info_text">
        {{~appTemplate~}}
        </pre>
      {{else}}
        <p id="appTemplate_text" class="info_text">
        {{~tr "You can provide a template for the resource that will be created in OpenNebula"~}}
        </p>
      {{/if}}
  </div>
  <div class="large-6 columns">  
    <table class="dataTable" cellpadding="0" cellspacing="0" border="0">
      <thead>
        <tr>
          <th>{{tr "VM template"}}</th>
          <th>
            <a class="vmTemplate_edit right" href="#"><i class="fa fa-pencil-square-o"></i></a>
          </th>
        </tr>
      </thead>
    </table>
    <textarea class="monospace" rows="6" type="text" id="vmTemplate_textarea" hidden placeholder='ATTRIBUTE = "VALUE"'>{{vmTemplate}}</textarea>
      {{#if vmTemplate}}
        <pre id="vmTemplate_text" class="info_text">
        {{~vmTemplate~}}
        </pre>
      {{else}}
        <p id="vmTemplate_text" class="info_text">
        {{~tr "You can provide a VM template associated to the resource that will be created in OpenNebula"~}}
        </p>
      {{/if}}
  </div>
</div>
